import Vue from 'vue' 

// 全局引入
// import Vant from 'vant'
// import 'vant/lib/index.css'

// 手动按需导入
// import { Button, Icon } from 'vant'
// 手动按需导入css
// import 'vant/lib/index.css'
// import 'vant/lib/button/style'

// 自动引入,需要安装依赖包,babel-plugin-import,不需要导入css文件即可
import {
    Button, Tabbar, TabbarItem, NavBar, Field, Image as VanImage, Toast, Search, Swipe, SwipeItem,
    
    Grid, GridItem,
    Divider,
    Card,
    Icon,
    DropdownMenu,
    DropdownItem,
    Rate, GoodsAction, GoodsActionIcon, GoodsActionButton,
    ActionSheet,
    Stepper,
    Dialog,
    Checkbox, CheckboxGroup,
    Tab, Tabs
    
} from 'vant'


Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Dialog)
Vue.use(Stepper)
Vue.use(ActionSheet)
Vue.use(Rate)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Field)
Vue.use(VanImage)
Vue.use(Toast)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Divider)
Vue.use(Card)
Vue.use(Icon)
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon)